/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.account.facade;


import info.peigen.hotpot.business.account.facade.order.freeze.FreezeAmountOrder;
import info.peigen.hotpot.business.account.facade.order.freeze.UnfreezeAmountOrder;
import info.peigen.hotpot.business.account.facade.result.freeze.FreezeAmountResult;
import info.peigen.hotpot.business.account.facade.result.freeze.UnfreezeAmountResult;

/**
 * <b>(AccountFreezeServiceFacade)</b>
 * 资金冻结
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
public interface AccountFreezeServiceFacade {

    /**
     * 冻结资金
     *
     * @param order 入参
     *
     * @return FreezeAmountResult
     */
    FreezeAmountResult freezeAmount(FreezeAmountOrder order);

    /**
     * 解冻资金
     *
     * @param order 入参
     *
     * @return UnfreezeAmountResult
     */
    UnfreezeAmountResult unfreezeAmount(UnfreezeAmountOrder order);
}
